function adminbbsadd(){
	var title = document.getElementById("bbsname").value;
	var cont  = document.getElementById("bbscont").value;
	if(title != ""){
		if(cont != ""){
			document.theForm.submit();
		}else
		{
			alert("请输入帖子内容");
		}
	}else
	{ 
		alert("请输入标题"); 
	}
}